
import home_tab from "./component/barTab/mainHome_tab.vue"
import message_tab from "./component/barTab/message_tab.vue"
import setting_tab from "./component/barTab/setting_tab.vue"
import shopCart_tab from "./component/barTab/shopCart_tab.vue"
import news_page from "./component/mainHome_app/news.vue"
import news_detail from "./component/mainHome_app/newsDetail.vue"
import img_share from "./component/mainHome_app/imgShare.vue"
import house_info from "./component/mainHome_app/houseInfo.vue"
import shop_page from "./component/mainHome_app/shop.vue"
import goodsInfo_page from "./component/mainHome_app/goodsInfo.vue"

const routes = [
    {path:"/",redirect:"/home_tab"},
    { path: '/home_tab', component: home_tab },
    { path: '/message_tab', component: message_tab },
    { path: '/setting_tab', component: setting_tab },
    { path: '/shopCart_tab', component: shopCart_tab },
    { path: '/mainHome_news',component:news_page},
    { path:'/newsDetail',component:news_detail},
    { path:'/imgShare',component:img_share},
    { path:'/houser_info/:id',component:house_info},
    { path:"/shop",component:shop_page},
    { path:'/goodsInfo/:id',component:goodsInfo_page}
  ]


export default routes 